/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.teach.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.teach.entity.TeachDistribute;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 教学管理DAO接口
 * @author cqh
 * @version 2017-01-12
 */
@MyBatisDao
public interface TeachDistributeDao extends CrudDao<TeachDistribute> {

    //查看下发课程体系
    List<TeachDistribute> viewCourseSystem(TeachDistribute teachDistribute);

    //查看下发CTF题目集
    List<TeachDistribute> viewCTFSet(TeachDistribute teachDistribute);

    //查看下发试卷
    List<TeachDistribute> viewPaperName(TeachDistribute teachDistribute);

    //查看下发对象：学生
    List<TeachDistribute> viewTargetNameIsStudent(TeachDistribute teachDistribute);

    //查看下发对象：班级
    List<TeachDistribute> viewTargetNameIsClass(TeachDistribute teachDistribute);

    //我的学习任务列表展示
    List<TeachDistribute> findStuLearnList(TeachDistribute teachDistribute);

    //删除下发表数据-真删除
    void deleteDistribute(TeachDistribute teachDistribute);

    //根据id获取单条记录
    TeachDistribute getSingleRecord(@Param("id")String id,@Param("DEL_FLAG_NORMAL")String DEL_FLAG_NORMAL);

}